<div class="row">
    <div class="twelve columns">
        <div class="box_c">
            <div class="box_c_heading cf box_actions">
                <p>{{Mainling list}}</p>
            </div>
            <div class="box_c_content">
                <table class="display dt_act_mailinglist mobile_dt3" id="data_table_mailinglist">
                    <thead>
                        <tr>
                            <th class="chb_col"><input type="checkbox" class="chSel_all" /></th>
                            <th class="essential">id</th>
                            <th>{{Email}}</th>
                            <th class="essential">{{Actions}}</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php if(!empty($mailinglist)){ ?>
                        <?php foreach($mailinglist as $key => $value){ ?>
                            <tr class="mainlinglist" id="mainlinglist-<?php echo $key; ?>">
                                <td class="chb_col"><input type="checkbox" name="row_sel" id="sel_<?php echo $key; ?>" /></td>
                                <td><?php echo (int)$key; ?></td>
                                <td><?php echo $value['email']; ?></td>
                                <td class="content_actions">
                                    <a href="javascript:void(0)" title="{{Supprimer}}" onClick="$('#sel_<?php echo $key; ?>').attr('checked',true); $('.delete_all_rows').trigger('click');"><img src="img/ico/trashcan_gray.png" alt="" /></a>
                                </td>
                            </tr>
                        <?php } ?>
                        <?php } ?>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
